package com.cloud.form.api.entity;

import javax.persistence.*;

@Table(name = "form_print_auth")
public class FormPrintAuth {
    @Id
    @Column(name = "form_id")
    private Long formId;

    @Id
    @Column(name = "part_id")
    private Long partId;

    @Column(name = "read_auth")
    private Byte readAuth;

    @Column(name = "print_auth")
    private Byte printAuth;

    public Long getFormId() {
		return formId;
	}

	public void setFormId(Long formId) {
		this.formId = formId;
	}

	/**
     * @return part_id
     */
    public Long getPartId() {
        return partId;
    }

    /**
     * @param partId
     */
    public void setPartId(Long partId) {
        this.partId = partId;
    }

    /**
     * @return read_auth
     */
    public Byte getReadAuth() {
        return readAuth;
    }

    /**
     * @param readAuth
     */
    public void setReadAuth(Byte readAuth) {
        this.readAuth = readAuth;
    }

    /**
     * @return print_auth
     */
    public Byte getPrintAuth() {
        return printAuth;
    }

    /**
     * @param printAuth
     */
    public void setPrintAuth(Byte printAuth) {
        this.printAuth = printAuth;
    }
}